﻿<controls:ChildWindow x:Class="MedLink2011.Views.ClinicCharts.ChildWindows.Evaluation_MuscsCW"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
mc:Ignorable="d"
Title="Evaluation_MuscsEditWindow"
xmlns:viewModels="clr-namespace:MedLink2011.Views.ClinicCharts.ViewModels" 
xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
xmlns:appControls="clr-namespace:MedLink2011.Controls">
<!--19 Fields --> 
    <controls:ChildWindow.Resources>
        <viewModels:Evaluation_MuscViewModel x:Key="Evaluation_MuscViewModel"></viewModels:Evaluation_MuscViewModel>
    </controls:ChildWindow.Resources>
    <appControls:BusyIndicator x:Name="BusyIndicator" BusyContent="Loading Patients data...." DataContext="{Binding Source={StaticResource Evaluation_MuscViewModel}}" Foreground="SlateGray" IsBusy="{Binding IsBusy}">
<Grid x:Name="LayoutRoot" DataContext="{Binding Source={StaticResource Evaluation_MuscViewModel}}" Background="WhiteSmoke" >
        <Border BorderBrush="#FF505050"  BorderThickness="2"  CornerRadius="10">
            <Border.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#EDD1DE86" Offset="0.8" />
                    <GradientStop Color="AliceBlue" Offset="1.09" />
                </LinearGradientBrush>
          </Border.Background>
<ScrollViewer x:Name="scrollViewerEvaluation_Muscs" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" >
<Grid HorizontalAlignment="Left" x:Name="Evaluation_MuscsGrid" VerticalAlignment="Top">
<Grid.RowDefinitions>
<RowDefinition Height="32" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
    <ColumnDefinition Width="30" />
    <ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="Auto" />
	<ColumnDefinition Width="50" />
	<ColumnDefinition Width="Auto" />
	<ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>


<StackPanel Grid.Column="1" Grid.Row="1" Orientation="vertical"  >
<TextBlock Height="20" Margin="0,5" ToolTipService.ToolTip="Evaluation Musc Id" ToolTipService.Placement="Right" Text="Evaluation Musc Id:"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Muscle Tone Wnl" ToolTipService.Placement="Right" Text="Muscle Tone Wnl:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Tone Is Increased" ToolTipService.Placement="Right" Text="Tone Is Increased:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Tone Is Decreased" ToolTipService.Placement="Right" Text="Tone Is Decreased:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Atrophy Present" ToolTipService.Placement="Right" Text="Atrophy Present:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Gait And Station Wnl" ToolTipService.Placement="Right" Text="Gait And Station Wnl:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Ataxia" ToolTipService.Placement="Right" Text="Ataxia:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Wide Based Gait" ToolTipService.Placement="Right" Text="Wide Based Gait:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Shuffle" ToolTipService.Placement="Right" Text="Shuffle:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />

</StackPanel>
<StackPanel Grid.Column="2" Grid.Row="1" Orientation="vertical"  >
<TextBlock  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Evaluation_Musc_idTextBox" Text="{Binding Path=CurrentEvaluation_Musc.Evaluation_Musc_id, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" />
<CheckBox ToolTipService.ToolTip="Muscle Tone Wnl" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Muscle_tone_WNLCheckBox" IsChecked="{Binding Path=CurrentEvaluation_Musc.Muscle_tone_WNL, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Tone Is Increased" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Tone_is_increasedCheckBox" IsChecked="{Binding Path=CurrentEvaluation_Musc.Tone_is_increased, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Tone Is Decreased" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Tone_is_decreasedCheckBox" IsChecked="{Binding Path=CurrentEvaluation_Musc.Tone_is_decreased, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Atrophy Present" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Atrophy_presentCheckBox" IsChecked="{Binding Path=CurrentEvaluation_Musc.Atrophy_present, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Gait And Station Wnl" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Gait_and_station_WNLCheckBox" IsChecked="{Binding Path=CurrentEvaluation_Musc.Gait_and_station_WNL, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Ataxia" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="AtaxiaCheckBox" IsChecked="{Binding Path=CurrentEvaluation_Musc.Ataxia, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Wide Based Gait" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Wide_based_gaitCheckBox" IsChecked="{Binding Path=CurrentEvaluation_Musc.Wide_based_gait, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Shuffle" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="ShuffleCheckBox" IsChecked="{Binding Path=CurrentEvaluation_Musc.Shuffle, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />

</StackPanel>
                        <StackPanel Margin="0,10" Grid.Column="0" Grid.Row="2" Orientation="Horizontal"  Grid.ColumnSpan="3">
                            <Button Margin="20,0,0,0" Style="{StaticResource GreenButton}" x:Name="CancelButton" Content="Cancelar"  Background="Blue" Width="75" Height="23" HorizontalAlignment="Right"  />
                            <Button Margin="20,0,0,0" Style="{StaticResource OrangeButton}" x:Name="SaveButton" Content="Guardar" Background="Green" Width="75" Height="23" HorizontalAlignment="Right" Command="{Binding SaveEvaluation_MuscCommand}" />
                        </StackPanel>
           <StackPanel Orientation="Horizontal" Margin="0,20,0,0" Grid.Column="5" Grid.Row="1" >
                <StackPanel Orientation="Vertical" Margin="0,10,0,0" Grid.Column="6" Grid.Row="1" >
                    <TextBlock Height="20" ToolTipService.ToolTip="Patient Leans Right" ToolTipService.Placement="Right" Text="Patient Leans Right:"  Margin="0,10,0,0"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Patient Leans Left" ToolTipService.Placement="Right" Text="Patient Leans Left:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Patient Leans Front" ToolTipService.Placement="Right" Text="Patient Leans Front:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Patient Leans Back" ToolTipService.Placement="Right" Text="Patient Leans Back:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Evaluation Musc Notes" ToolTipService.Placement="Right" Text="Evaluation Musc Notes:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Clinic Chart Id" ToolTipService.Placement="Right" Text="Clinic Chart Id:"  Margin="0,5"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />

                </StackPanel>
                <StackPanel Orientation="Vertical" Margin="0,10,0,0" >
                    <CheckBox ToolTipService.ToolTip="Patient Leans Right" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Patient_leans_RightCheckBox" IsChecked="{Binding Path=CurrentEvaluation_Musc.Patient_leans_Right, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Patient Leans Left" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Patient_leans_LeftCheckBox" IsChecked="{Binding Path=CurrentEvaluation_Musc.Patient_leans_Left, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Patient Leans Front" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Patient_leans_FrontCheckBox" IsChecked="{Binding Path=CurrentEvaluation_Musc.Patient_leans_Front, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Patient Leans Back" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Patient_leans_BackCheckBox" IsChecked="{Binding Path=CurrentEvaluation_Musc.Patient_leans_Back, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Evaluation Musc Notes" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Evaluation_Musc_NotesTextBox" Text="{Binding Path=CurrentEvaluation_Musc.Evaluation_Musc_Notes, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="1000"/>
<TextBlock  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="ClinicChart_IdTextBox" Text="{Binding Path=ClinicChart_Id, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120"  />

                </StackPanel>
            </StackPanel>
    
    
      
        </Grid>
        </ScrollViewer>
        </Border>
    </Grid>
    </appControls:BusyIndicator>
</controls:ChildWindow>
